package org.liang.family_manager.dao.repo;

import org.liang.family_manager.dao.po.FamilyMember;
import org.liang.family_manager.dao.po.MemberRelation;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface MemberRelationRepository extends JpaRepository<MemberRelation, Long> {
    List<MemberRelation> findByFromMemberId(Long fromMemberId);
    List<MemberRelation> findByFamilyId(Long familyId);
}